package top.fengyulou.code.entity;

import lombok.Data;
import top.fengyulou.common.Entity;

/**
 * 接口
 */
@Data
public class User extends Entity {
    /**
     * 管理员
     */
    public static final String ADMIN = "ADMIN";
    /**
     * 写用户
     */
    public static final String WRITE = "WRITE";
    /**
     * 读用户
     */
    public static final String READ = "READ";
    /**
     * 名称
     */
    private String loginName;
    /**
     * 密码
     */
    private String password;
    /**
     * 随机串
     */
    private String randomStr;
    /**
     * 管理员：ADMIN 写用户：WRITE 读用户：READ
     */
    private String type;
}
